package au.org.ala.phylojive

/**
 * Logout URL used for CAS logout.
 */
class LogoutController {

    def index() {
        log.info "Invalidating Session (PublicController.logout): ${session.id}"
        session.invalidate()
        redirect(url: "${params.casUrl}?url=${params.appUrl}")
    }
}
